﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ContentClick_list.aspx.cs"
    Inherits="TRPOP.CMS.Web.Admin.ContentClick_list" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>信息点击统计-<%=base.m_strBaseAdminPageName%></title>
    <script src="../../js/jquery.js" type="text/javascript"></script>
    <script src="../../js/utils.js" type="text/javascript"></script>
    <script src="../js/jquery.form.js" type="text/javascript"></script>
    <script src="../js/utils.js" type="text/javascript"></script>
</head>
<body>
    <form id="Form2" runat="server">
    <table id="page_navigator">
        <tr>
            <td class="align_l">
                当前位置：信息点击统计 ->
                <%=m_title %>
            </td>
        </tr>
    </table>
    <table class="table_search" cellpadding="0" cellspacing="2" width="100%" border="0">
        <tr>
            <td height="20" nowrap="nowrap" width="50">
                标题关键字:
            </td>
            <td nowrap="nowrap" width="150">
                <cms:TextBox runat="server" ID="txtKeyWords" Width="100" />
            </td>
            <td>
                &nbsp;
            </td>
            <td align="right" nowrap="nowrap" width="50">
                发布时间(<cms:LinkButton ID="lbtToday" runat="server" Text="当日" OnClick="btSearch_Click"></cms:LinkButton>):
            </td>
            <td align="left" nowrap="nowrap" width="260">
                <cms:TextBox runat="server" ID="txtStartTime" ToolTip="开始时间" onclick="javascript:return new Calendar.display(this.id,event);"
                    Width="100px" />
                ~
                <cms:TextBox runat="server" ID="txtEndTime" ToolTip="结束时间" onclick="javascript:return new Calendar.display(this.id,event);"
                    Width="100px" />
            </td>
            <td>
                &nbsp;
            </td>
            <td height="20" nowrap="nowrap" width="50">
                精华:
            </td>
            <td nowrap="nowrap" width="150">
                <cms:TextBox runat="server" ID="txtEliteWeight" Width="100" />
            </td>
            <td>
                &nbsp;
            </td>
            <td height="20" nowrap="nowrap" width="50">
                置顶:
            </td>
            <td nowrap="nowrap" width="150">
                <cms:TextBox runat="server" ID="txtTopWeight" Width="100" />
            </td>
            <td>
                &nbsp;
            </td>
            <td height="20" nowrap="nowrap" width="50">
                作者:
            </td>
            <td nowrap="nowrap" width="150">
                <cms:DropDownList runat="server" ID="ddlAddUser">
                </cms:DropDownList>
            </td>
            <td>
                <cms:Button CssClass="button_style" runat="server" Text=" 搜 索 " ID="btSearch" OnClick="btSearch_Click" /><span
                    class="ltsep">(仅限当前位置)</span>
            </td>
        </tr>
    </table>
    <table class="table_list">
        <tbody>
            <tr align="center">
                <th class="rptlistTitle" width="10%">
                    <strong>信息ID</strong>
                </th>
                <th class="rptlistTitle" width="25%">
                    <strong>新闻标题</strong>
                </th>
                <th class="rptlistTitle" width="25%">
                    <strong>点击量</strong>
                </th>
                <th>
                    <strong>作者</strong>
                </th>
                <th>
                    <strong>发布时间</strong>
                </th>
                <th>
                    <strong>置顶</strong>
                </th>
                <th>
                    <strong>精华</strong>
                </th>
                <th>
                    <strong>操作</strong>
                </th>
            </tr>
            <cms:Repeater ID="rptList" runat="server">
                <ItemTemplate>
                    <tr class="tr_listitem">
                        <td class="align_c" align="center">
                            <%# Eval("ContentId")%>
                        </td>
                        <td class="align_c" align="center">
                            <a href="javascript:void(0);" onclick=" window.open('../publish/content_view.aspx?nodeid=<%#Eval("NodeId") %>&id=<%# Eval("ContentId")%>', '', 'width=800,height=600,scrollbars=yes,resizable=yes,titlebar=0,top=' + (screen.availHeight - 600) / 2 + ',left=' + (screen.availWidth - 800) / 2);">
                                <%# Eval("ContentName")%>
                            </a>
                        </td>
                        <td class="align_c" align="center">
                            <%# Eval("ClickCount")%>
                        </td>
                        <td class="align_c">
                            <%# Eval("AdminUserName")%>
                        </td>
                        <td class="align_c">
                            <%# Eval("PubTime")%>
                        </td>
                        <td class="align_c">
                            <%# Eval("TopWeight")%>
                        </td>
                        <td class="align_c">
                            <%# Eval("EliteWeight")%>
                        </td>
                        <td class="align_c">
                            <a href="<%# Eval("Url")%>" onclick="window.open(this.href);return false;">浏览<a>&nbsp;&nbsp;
                                <a href="javascript:void(0);" onclick="window.open('../publish/admin_publish_eidt.aspx?ac=edit&nodeid=<%#Eval("NodeId") %>&id=<%# Eval("ContentId")%>');">
                                    编辑</a>
                        </td>
                    </tr>
                </ItemTemplate>
            </cms:Repeater>
        </tbody>
    </table>
    <!--操作-->
    <table class="table_operator">
        <tr class="tr_operator">
            <td>
                <label for="chkall">
                    排序规则:</label>&nbsp;&nbsp;
                <cms:DropDownList runat="server" ID="ddlSort">
                    <asp:ListItem Selected="True" Value="ClickCount desc">点击量</asp:ListItem>
                    <asp:ListItem Value="PubTime desc">发布时间</asp:ListItem>
                    <asp:ListItem Value="ClickCount desc , PubTime desc">点击量和发布时间</asp:ListItem>
                </cms:DropDownList>
                &nbsp;&nbsp;
                <cms:Button CssClass="button_style" runat="server" Text="执 行" ID="btnSort" OnClick="btSearch_Click" />
            </td>
            <td class="align_r">
                <cms:Button CssClass="button_style" runat="server" Text="显示" ID="btnShow" OnClick="btSearch_Click" />
                <cms:TextBox runat="server" ID="txtPageSize" Width="100" Text="15" />
                条记录
            </td>
        </tr>
        <tr class="tr_pager">
            <td colspan="2">
                <cms:PagerGet ID="PagerGet1" runat="server" />
            </td>
        </tr>
    </table>
    <table class="table_operator">
        <tr class="tr_pager">
            <td colspan="4">
                <cms:PagerGet ID="Pager" runat="server" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
